development.dbname = "sim-dev"
test.dbname = "sim-test"
production.dbname = "sim-prod"
aws.credentialsfile = "/AwsCredentials.properties"
aws.endpoint = "ec2.us-west-1.amazonaws.com"
aws.key = "/cmpe295-keypair.pem"
test.env = 'test/testenv'

environments {
    development {
        test.cloud = 'local'
        grails {
            mongo {
                databaseName = "sim-dev"
            }
        }
    }
    test {
        test.cloud = 'local'
        grails {
            mongo {
                databaseName = "sim-test"
            }
        }
    }
    production {
        test.cloud = 'remote'
        grails {
            //serverURL = "http://localhost:8080/server"
            serverURL = "http://ec2-50-18-146-28.us-west-1.compute.amazonaws.com:8080/server"
            mongo {
                databaseName = "sim-prod"
            }
        }
    }
}
